package com.ds.infrastructure.hyperspace.console.model.response.login;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: yaozhendong
 * @create: 2019-11-19 17:10
 **/
@Data
@NoArgsConstructor
public class GetUserInfoVO {

    private String userName;
    private String sid;

    public static GetUserInfoVO toVO(String userName, String sid) {
        GetUserInfoVO getUserInfoVO = new GetUserInfoVO();
        getUserInfoVO.setUserName(userName);
        getUserInfoVO.setSid(sid);
        return getUserInfoVO;
    }
}
